<#--
* Textarea
-->
<#macro Textarea path labelText=path maxlength=0 class="" required="" prompt="" attributes="">
  <@spring.bind path/>
  <#assign id="${spring.status.expression?replace('[','')?replace(']','')}">
  <#assign placeholder = (prompt?has_content)?string(prompt,labelText?replace("<font[^>]*>([^<]*)</font>","","ri")) >
  <div class="layui-form-item">
    <label class="layui-form-label" for="${id}">
        <#if required?contains("required")><b style="color:red;padding:2px;vertical-align: middle;">*</b></#if>${labelText}
    </label>
    <div class="layui-input-block">
        <span class="width-100 input-icon input-icon-right">
            <textarea type="textarea" id="${id}" autocomplete="off" placeholder="请填写${placeholder}" 
                class="layui-textarea ${class}" name="${spring.status.expression}" lay-verify="${required}" 
                lay-verType="tips" lay-reqText="请填写${placeholder}" ${attributes}>${spring.stringStatusValue}</textarea>
        </span>
        <#nested>
    </div>
  </div>
</#macro>
